Adequacy for Algebraic Effects

نویسندگان

  • Gordon D. Plotkin
  • John Power
چکیده

Moggi proposed a monadic account of computational effects. He also presented the computational λ-calculus, λc, a core call-by-value functional programming language for effects; the effects are obtained by adding appropriate operations. The question arises as to whether one can give a corresponding treatment of operational semantics. We do this in the case of algebraic effects where the operations are given by a single-sorted algebraic signature, and their semantics is supported by the monad, in a certain sense. We consider call-by-value PCF with— and without—recursion, an extension of λc with arithmetic. We prove general adequacy theorems, and illustrate these with two examples: nondeterminism and probabilistic nondeterminism.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Semantics for Algebraic Operations

Given a complete and cocomplete symmetric monoidal closed category V and a symmetric monoidal V -category C with cotensors and a strong V -monad T on C, we investigate axioms under which an ObCindexed family of operations of the form αx : (Tx) v −→ (Tx)w provides semantics for algebraic operations, which may be used to extend the usual monadic semantics of the computational λ-calculus uniformly...

متن کامل

Algebraic Operations and Generic Effects

Given a complete and cocomplete symmetric monoidal closed category V and a symmetric monoidal V-category C with cotensors and a strong V-monad T on C, we investigate axioms under which an ObCindexed family of operations of the form αx : (Tx) v −→ (Tx)w provides semantics for algebraic operations on the computational λ-calculus. We recall a definition for which we have elsewhere given adequacy r...

متن کامل

Towards Automation for Pointer Algebra

First-order automated verification within algebraic structures has proven to be widely applicable. In this work we deal with automation for pointer algebra. We evaluate the adequacy of its original axioms for theorem proving tools. Moreover we give a different algebraic approach for projections which turns out to be more suitable for automation.

متن کامل

On the Power of Higher-Order Algebraic Specification Methods

Soundness and adequacy theorems are presented for the expressive power of higher-order initial algebra specifications with respect to the arithmetical and analytical hierarchies. These results demonstrate that higher-order initial algebra semantics substantially extends the power of both first-order initial and first-order final algebra semantics. It thus provides a unifying framework for all t...

متن کامل

Impact of Jacobson Relaxation on Dialysis Adequacy in ElderlyHemodialysis Patients

Background: Dialysis adequacy is one of the determining factors for survival in elderly patients. Improving the dialysis adequacy highly affects the remission and prognosis of old dialysis patients. Current study was conducted to evaluate the effects of Jacobson relaxation technique on dialysis adequacy in elderly people, who are under dialysis treatment. Methods: ods: This is a clinical trial...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001